package com.authine.cloudpivot.ext.Enum;

import java.util.Arrays;
import java.util.List;


public enum OriginIDType {
    /**
     * 对外提供可以创建发票的方式
     */
    Bill("账单"),
    Trade("交易"),
    VendorOrder("供应商订单"),
    CustomerOrder("客户订单"),
    Invoice("发票申请单"),
    ;
    public String des;

    public static List<OriginIDType> allowBalance() {
        return Arrays.asList(OriginIDType.Bill, OriginIDType.Trade);
    }

    OriginIDType(String des) {
        this.des = des;
    }
}
